span.CodeShard {
  overflow: hidden;
  height: 30px;
  line-height: 1em;
  font-family: monospace;
  margin: 0;
  padding: 0;
  position: relative;

  width: 200px;
  min-height: 30px;
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: top;
  zoom: 1;
  *display: inline;
  _height: 250px;
}

span.CodeShard-gutter {
  position: absolute; left: 0; top: 0;
  background-color: #f7faaa;
  border-right: 1px solid #eee;
  min-width: 1em;
  height: 100%;
}
span.CodeMirror-gutter-text {
  color: #aaa;
  text-align: right;
  padding: .4em .2em .4em .4em;
}

span.CodeShard-lines {
  padding: .4em;
}

span.dmover span.CodeShard-lines {
    background: #eee;
}

span.CodeShard span.dcode {
  -moz-border-radius: 1;
  -webkit-border-radius: 1;
  -o-border-radius: 1;
  height: 30px;
  border-radius: 1;
  border-width: 1; margin: 0; padding: 0; 
  /*background: transparent;*/
  font-family: inherit;
  position: relative;
}

span.CodeShard {
  font-family: monospace !important;
}

span.CodeShard-cursor {
  z-index: 10;
  position: absolute;
  visibility: hidden;
  border-left: 1px solid black !important;
}
span.CodeShard-focused span.CodeShard-cursor {
  visibility: visible;
}

span.CodeShard-selected {
  background: #ccc !important;
  color: HighlightText !important;
}
span.CodeShard-focused span.CodeShard-selected {
  background: Highlight !important;
}

span.CodeShard-matchingbracket {color: #0f0 !important;}
span.CodeShard-nonmatchingbracket {color: #f22 !important;}
